package org.jiajie.designpatterndemo.service.locator;

/**
 * 创建实体服务
 *
 * @author jie
 */
public class Service2 implements Service{
    @Override
    public String getName() {
        return "Service2";
    }

    @Override
    public void execute() {
        System.out.println("Executing Service2");
    }
}
